#-*- coding:utf-8 -*-
from django.db import models

# Create your models here.
class words_storehouse(models.Model):
    class Meta:
        verbose_name=u'分词词库'
        verbose_name_plural=u'分词词库'

    word=models.CharField(u'词名字',max_length=255,unique=True)
    count=models.IntegerField(u'分词搜索次数',default=1)
    word_property=models.CharField(u'分词词性',max_length=50,default='x')   #x表示字符串

    def __unicode__(self):
        return self.word